package com.ruoyi.system.vo.req;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 操作用户资金对象 sys_user_account
 *
 * @author Ericcc
 * @version v0.01
 * @date 2021/2/6
 */
public class SysUserAccountEditReq
{
    private static final long serialVersionUID = 1L;

    /** 类型 */
    @NotNull(message = "类型不能为空")
    private Integer type;   //0加余额，1减余额，2冻结余额

    /** 金额 */
    private BigDecimal amount;

    /** 备注 */
    @NotNull(message = "备注不能为空")
    private String remark;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}